package com.gcxy.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.time.LocalDateTime;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;


/**
 * <p>
 * 导出周报记录表
 * </p>
 *
 * @author Huang先森
 * @since 2024-07-22
 */
@Getter
@Setter
@TableName("export_record")
@ApiModel(value = "ExportRecord对象", description = "导出周报记录表")
public class ExportRecord implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("周报到处记录id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("导出时间")
    private LocalDateTime exportTime;

    @ApiModelProperty("导出状态（0：生成中、1：已生成、2：已失效）")
    private Integer exportStatus;

    @ApiModelProperty("文件名")
    private String fileName;

    @ApiModelProperty("文件地址")
    private String url;

    @ApiModelProperty("学期id")
    private Integer semesterId;

    @ApiModelProperty("学期名称")
    private String semesterName;

    @ApiModelProperty("生成周数区间")
    private String exportWeekNum;

    @ApiModelProperty(value = "组织id")
    private Integer agencyId;
    /**
     * 创建时间
     */
    @ApiModelProperty("创建时间")
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    /**
     * 更新时间
     */
    @ApiModelProperty("更新时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;

    @ApiModelProperty("更新者")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private String updater;

}
